$("#gb").click(function () {
    let index=parent.layer.getFrameIndex(window.name);
    parent.layer.close(index);
})
$("#qx").click(function () {
    let index=parent.layer.getFrameIndex(window.name);
    parent.layer.close(index);
})